package com.xiake.core.entity.manager;

import java.io.Serializable;
import java.util.Date;

public class MngUser implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = 7022020024780740918L;


	private Integer id;

    private String truename;

    private String username;

    private String password;

    private Integer roleId;

    private String roleName;
    
    private Date createTime;

    private Date updateTime;
    
    public MngUser(){
      
    }
    
    public MngUser(String truename, String username, String password, Integer roleId){
      this.truename = truename;
      this.username = username;
      this.password = password;
      this.roleId = roleId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename == null ? null : truename.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
      return roleName;
    }

    public void setRoleName(String roleName) {
      this.roleName = roleName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}